#ifndef SUP_FUN_H_
#define SUP_FUN_H_
#define COURSE_COUNT 10
#define PUPIL_COUNT 160
extern int MAX_course; 
extern int MAX_pupil;

struct pupil{
    char *name;
    struct course *courses[COURSE_COUNT];
    int count;
};

struct course{
    char *name;
    struct pupil *pupils[PUPIL_COUNT];
    int count;

};
extern struct pupil *_pupils_arr[1000];
extern struct course *_courses_arr[1000];
/*struct pupil *_pupils_;
struct course *_courses_;*/

void init(int course_count, int pupil_count);
int xuanke(char *course_name,char *pupil_name);
int xiugai(char *course_name,char *new_course_name,char *pupil_name);
int tuike(char *course_name,char *pupil_name);
int lookall();
void lookpupil(char *pupil_name);
void lookcouse(char *course_name);
#endif
